pal1 = "maca"
pal2 = "macaco"





if pal2 > pal1 :
    print "mopa"
    
    
if pal1 > pal2 :
    print "moda"
 
    